package com.lbc.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author xyl
 * @date 2021-03-19 19:47
 */
@Data
public class UserVO {
    private Integer userId;

    private String username;

    private String email;

    private String realName;

    private String avatar;

    private String phoneNumber;

    private String address;

    private String role;

    private List<String> roles;

    private Integer state;

    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss" ,  timezone="GMT+8")
    private Date lastLoginTime;

}
